import request from '@/utils/request'

//  获取隐患详情
export function getQuestionDetail(params) {
  return request({
    url: '/business/defect/defectQuestion/getQuestionDetail',
    method: 'get',
    params
  })
}

//  获取隐患流转记录
export function queryQuestionRecord(params) {
  return request({
    url: '/business/defect/defectQuestion/queryQuestionRecord',
    method: 'get',
    params
  })
}

//  获取统计数据
export function questionStatistic(url,params) {
  return request({
    url,
    method: 'get',
    params
  })
}
